package com.zerui.manager.accessauthorg.gateway;


import com.zerui.manager.accessauthorg.AccessAuthOrg;
import com.zerui.manager.web.cmd.AccessAuthOrgBindCmd;

import java.util.List;
import java.util.Map;
/**
 * @Author wh
 * @create_time 2023-08-23 11:07
 */
public interface AccessAuthOrgGateWay {

    Map<Long, Long> getAuthIdMapByOrgIds(List<Long> orgIds);

    void addBatch(List<AccessAuthOrg> accessAuthOrges);

	List<Long> deleteBatch(AccessAuthOrgBindCmd accessAuthOrgBindCmd);

    List<Long> deleteAccessAuthOrgById(Long id);

    List<Long> getAccessAuthOrgById(Long accessAuthId);

    void deleteByOrgId(List<Long> orgId);
}
